define(async () => {
    const util = await require("../util");
    const _Image = await require("Image");

    class Sprite extends _Image {

        constructor(options) {
            super(options);
            //精灵的原点坐标为中心点
            this.originX = this.width / 2;
            this.originY = this.height / 2;
        }

    }

    return Sprite;
});